package com.paziy.jan.calc.literals.operations;

import com.paziy.jan.calc.literals.Computable;
import com.paziy.jan.calc.literals.operations.associations.*;

public abstract class Operation extends Computable  {

    protected final Association ASSOCIATION;

    public Operation(String pattern, byte countOperands, byte priority, Association association) {
        super(pattern, countOperands, priority);
        ASSOCIATION = association;
    }

    public Association getAssociation() {
        return ASSOCIATION;
    }
}
